package com.sakura.thread.chapter6.test1;

import java.util.concurrent.locks.LockSupport;

/**
 * Created by apple on 2018/12/17.
 */
public class LockSupportTest {
    public static void main(String[] args) {
//        System.out.println("begin park");

        LockSupport.park();
//
//        System.out.println("end park");


//        System.out.println("begin park");
//
//        LockSupport.park();
//        LockSupport.unpark(Thread.currentThread());
//
//        System.out.println("end park");


    }
}
